package com.gscitysfy.cus.drain.modules.warning.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangqiang
 * @since 2022-10-21 17:32:58
 */
@Getter
@Setter
@TableName("drain_waring_waterlogging_section")
public class DrainWaringWaterloggingSection implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId
    private Long cmKid;

    /**
     * 易涝点类别
     */
    private String cmType;

    /**
     * 易涝点名称
     */
    private String cmName;
    /**
     * 编码
     */
    private String cmCode;
    /**
     * 位置描述
     */
    private String cmPosition;

    /**
     * 范围长度
     */
    private String cmRangeLength;

    /**
     * 积水频次		
     */
    private Integer cmPondingRate;

    /**
     * 判定时间
     */

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date cmJudgeTime;

    /**
     * 经度
     */
    private Double cmLongtitude;

    /**
     * 纬度
     */
    private Double cmLatitude;

    @TableField(value = "cm_creator",fill = FieldFill.INSERT)
    private String cmCreator;
    @TableField(value = "cm_modifier",fill = FieldFill.UPDATE)
    private String cmModifier;

    private String cmOrgflag;

    private String cmRegflag;

    private Long cmTenantid;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "cm_addtime",fill = FieldFill.INSERT)
    private Date cmAddtime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "cm_uptime", fill = FieldFill.UPDATE)
    private Date cmUptime;

    private Long cmVersion;
    private Boolean cmUsable;




}
